import { createStore, combineReducers, applyMiddleware } from 'redux'
import { composeWithDevTools } from 'redux-devtools-extension'
import thunk from 'redux-thunk'
import authorityReducer from './authority/index'

const store = createStore(combineReducers({
  authority: authorityReducer,
}), composeWithDevTools(applyMiddleware(thunk)))
export default store
